New York City Denied Dozens of Men Shelter Beds, Legal Aid Says