The deal comes as investors look for consolidation in an industry that is recovering from a deep downturn in 2015 and 2016.