New York changes state election laws, including vote-by-mail measure voters rejected two years ago