Perhaps folks with a history of violence or dangerous behavior during sleep should have to lock themselves in or otherwise restrain themselves. Seems like a simple fix. Neglecting to do that before someone is killed could be manslaughter.
All that said, someone with a condition known to be a danger to others is at least negligent if they do nothing then others get hurt.