The Trump administration said Thursday it plans to circumvent a longstanding court agreement that governs how children are treated in immigration custody, in part to detain families longer as a way to deter migrants from crossing the Southwestern border illegally.