Many of the engineering group’s woes have their roots in the 2017 deal