A police officer was accused of spying for China. The charges were dropped, but the NYPD fired him