A former ambulance officer who murdered two women died in a hospital bed after being transferred out of prison for cancer treatment, a coroner found.