The two-year-old litigation accused the company of illegally operating a lawyer referral service.