The demand marked the latest legal setback for the Trump administration’s crackdown on illegal immigration in Chicago.