Judge revokes permit for $200M NYC pier project