Undo branch patching