Civil rights groups filed a lawsuit Thursday to block the Trump administration from ending a deportation relief policy that allowed some undocumented families with serious medical conditions to remain in the United States while they received medical care.