More than 70,000 residents and staff members at nursing homes and assisted living facilities have died of COVID-19, and others are under strict rules designed to keep the disease from spreading. That has evoked concern that living in a communal facility could be dangerous.