Thankfully, I've not come across this situation yet...unlike 750XL.
However, our procedures are quite clear that if they are confirmed deceased by a physician on board, position them such that it appears they are asleep so as not to alarm other passengers. If we do not have a doctor on board, then we are to divert regardless of whether we "know" the passenger has passed away. I think that's more a liability thing than anything though.
Personally, I'd like to make it through my career without ever having to deal with that situation, but it sounds like 750XL handled them all with the professionalism and care one would hope to receive!