Gov. Cuomo amends executive order affecting nursing homes