As far as summoning a crew to continue the journey, there would have already been a QR crew in KUL anyway on their regular KUL layover (KUL is also an A330 destination for QR, with an extension now to Phuket, so there are mixed layover durations of 24 hours up to 48 hours). My guess is that the diversion to KUL was selected to take this into account (other nearby QR destinations of SIN and BKK are now 77W ports, so there would not have been a suitable crew at either of those locations to allow the flight to continue onwards.)
Of course, the airline would ONLY have made this decision to proceed onwards to KUL (even if BKK or SIN were closer for medical emergency) with the onboard knowledge that the Commander was already deceased, and therefore, immaterial where the aircraft diverted to.
Horrible thought, but probably a sad fact.