If the patient has died any need to divert ends. It would be daft to divert to disembark a corpse, why would anyone even consider that?
"Trauma" suffered by other pax? People don't suffer trauma because a stranger nearby's snuffed it. They'll certainly get mighty aerated if they end up in Nuuq or Goose or Assend of Nowhere unnecessarily with an out of hours crew and a 20hr delay though.
I'm not sure I'd want to spend 10 hours in a confined space with a dead body
Why not? They don't smell any worse than you. They aren't contagious. They aren't a threat to anyone. What's the problem? They're no more offensive than someone who's asleep for Heaven's sake. At least they don't snore.
What a fuss about nothing.