A federal appeals court on Tuesday revived a lawsuit challenging the New York City Police Department's post-9/11 surveillance of Muslim religious and civic groups, comparing the program other dark moments of race-based government monitoring in America's past.