To contain the spread of COVID, hospitals and nursing homes barred visits, but the separation and isolation took a toll on patients and families. Now, some states are trying to ensure access.