In a significant upheaval, six senior Justice Department officials, among them Manhattan’s leading prosecutor, stepped down on Thursday, resisting a directive to abandon corruption charges against New York City’s mayor. This move highlights dissent against President Trump’s perceived efforts to manipulate the justice system for political aims.