Health inspectors found safety shortcomings at 77 New York nursing homes during the coronavirus pandemic, including basic infection-control violations like failing to have staff wear masks or wash their hands, according to records and state officials.