Endo loss widens, R&D chief departs amid regulatory struggles