The immunity law, buried in a state budget bill and passed without fanfare this spring, gave hospitals and nursing homes cover from possible lawsuits tied to the coronavirus crisis.