[git] Refactor: move handleRebaseFailure to GitRebaser & make it public

To let it use in rebase actions other and simpler than GitRebaseUpdater