Endo, Penwest settle patent dispute with Actavis