Purdue Pharma, headquartered in Stamford, Conn., the Sackler family, which owns the company, settled a case brought by the Oklahoma attorney general.