A New York federal judge on Wednesday ordered the Trump administration to improve conditions for migrants detained at a Manhattan immigration holding facility, saying detainees at the federal building needed protection from alleged “unconstitutional and inhumane treatment.”