More than 1,300 flights cancelled and diverted after a blaze caused a huge power outage