Zohran Mamdani’s leftist allies malign it. But it has changed lives in the city and transformed neighborhoods.