Hundreds of asylum seekers being housed in hotels outside New York City must leave by Dec. 31 as the city ends the use of those upstate shelters.