Endo to Buy American Medical for $2.9 Billion to Trim Pain-Drug Dependence