Quest Diagnostics has reached an agreement in principle to pay $241 million to settle a California False Claims Act case alleging the company overcharged the state’s Medicaid program for laboratory testing services.