A coroner has issued a warning to a Hampshire NHS trust following the death of a patient who suffered complications after undergoing weight loss surgery during a junior doctor strike.