Zohran Mamdani wants to phase out the city’s gifted program for kindergarten students if elected, a proposal that drew intense criticism and praise.