Officials say no more danger to homes and many residents being allowed to return after evacuating from large blaze, but PM expresses concern that flames could move toward capital