I’ll guess mechanical — initial diversion to YUL was the nature of the problem, requiring landing at the nearest suitable airport; repositioning to YYZ was probably an attempt to continue the flight with a new crew
the jet is about to return to LHR as BA9607