A federal judge has ordered the Defense Department to temporarily halt a requirement that journalists be accompanied by an official escort, another legal setback for the Trump administration’s efforts to restrict media access at the Pentagon. It was not immediately clear whether the order applied only to reporters from The New York Times, which filed the lawsuit, or to the entire press corps.