US city turns down funding to counter extremism