Move sendInFlightRef.current and setSendPhase assignments inside the try
block so that the finally block always resets them, preventing permanent
send-lock if code between the assignments and the try block throws.
Also removes the redundant setSendPhase('preparing-worktree') call that
was already set identically before the try block.