OxyContin maker Purdue Pharma LP filed for bankruptcy protection after reaching a partial deal to resolve more than 2,600 lawsuits alleging it helped fuel the U.S. opioid crisis.