New York state’s top court rules gang activity is not terrorism