Judge James Boasberg of the U.S. District Court for the District of Columbia issued a ruling prohibiting deportation flights while he oversees a case.