Using food or medical assistance could soon make it harder for some immigrants and refugees to stay in the U.S.