Delays were building on the M5 due to the fire