A federal judge’s nearly yearlong effort to investigate whether the Trump administration had violated his order had become a ...