The move threatens to cast a cloud of uncertainty over many migrants who applying for immigration benefits that would allow them to stay in the U.S. legally and, in some cases, permanently.