The government ordered their immediate removal from all public and private residential buildings, as authorities investigate the cause of the city’s deadliest fire in decades.