The haredi city of Beitar Illit has been closed off to all but the city's residents.