What was the hotel suppose to do?
Consult a crystal ball?
If they want to sue the medical examiner for being incompetent then fine. There is some responsibility there.
But should a hotel never rent out a room where someone died ever again?
You are going to have to shut down most of Las Vegas.
The lesson here is that when checking into a motel, BYOCOD (i.e. bring your own CO detector).