The Trump administration has failed to kill a legal challenge to its practice of separating undocumented parents and children entering the U.S. to flee persecution at home, with a judge handing an early victory to civil rights activists who say the policy is unconstitutional and cruel.