£5m government fund for charities and groups to counter extremist ideology