Under the policy, applicants for green cards have to show they wouldn’t be burdens to the country or “public charges.”