N.Y. senator is glad Andrew Cuomo resigned, but says he must