OxyContin maker Purdue Pharma LP is nearing a partial agreement to resolve widespread litigation over its alleged role in fueling the U.S. opioid crisis and plans to tussle with states opposing its settlement offer in bankruptcy proceedings starting as soon as next week, people familiar with the matter said.