Reversing his predecessor, District Attorney Nathan Hochman said there were “legitimate reasons” to justify the withdrawal.