US judge orders separated families be reunited