A new policy closes a loophole that has allowed people to apply for a green card, or permanent residency, while in the country.