Lower courts have ruled against the policy, which has effectively shut down avenues for people seeking asylum protections and to remain in the United States.