The U.K. government faces increased challenges in housing migrants after a court ruling blocked the use of a hotel for asylum seekers