New York legislature strips scandal- scarred Cuomo of emergency powers