The deal is Merck’s largest since 2015, when it spent $17bn on acquiring Sigma-Aldrich, also a life sciences specialist.