Estimates based on Medicaid data from 17 states show that the costs to treat opioid-related problems such as overdoses and treatment nearly tripled from 2001 to 2013.