With “defund the police” still in New Yorkers’ ears, getting traction in the mayor’s race was complicated.