The attorney general’s new order represents a partial retreat for the Trump administration in the face of intense skepticism from a judge over the legality of Bondi’s earlier directive that sought to put the police force under the full control of the federal government.