Move comes after Trump criticized the initial sentence recommendation; prosecutor resigns after reversal