Purdue Pharma LP agreed to plead guilty to criminal charges over the handling of its addictive prescription opioid OxyContin, in a deal with U.S. prosecutors that imposed significant penalties exceeding $8 billion, though the lion's share will go largely unpaid.