How Los Angeles could have minimized the damage from the wildfires