The Court of Appeal has overturned a High Court ruling which would have stopped 138 asylum seekers being housed at the Bell Hotel in Epping, Essex, beyond September 12.