One must remember the Swiss aircraft that had an electrical fire and decided to dump fuel for max landing considerations... even a situation that appears to be under control can spiral in the matter of a couple of minutes, especially when fire/smoke is involved.
The crew were probably highly familiar with Gatwick and decided this was the better option given their FL and distance.