In the early days of the pandemic, more than 9,000 recovering coronavirus patients in New York state were released from hospitals into nursing homes.