bisect reset: Leave the tree in usable state if git-checkout failed