A federal judge agreed to partially terminate the 1997 Flores agreement that shields underage migrants apprehended at the U.S. border from incarceration and sets strict standards for their housing, after HHS published its own safeguards.