Opioid drug manufacturer Endo Pharmaceuticals filed a Chapter 11 petition late Tuesday, agreeing to provide $450 million to state and local governments.