The New York City mayor's move reverses a key campaign promise and sets up a clash with the City Council over the program.