The guys were probably busy dealing with the problems, doing check lists, communicating with ATC, company, pax, crew, etc, so the extra track miles (time) could have been needed for all of this.
Correct me if I'm wrong, but there have been other emergencies into LHR where ATC have directed the aircraft to other, secondary LON airports?