Merck signed a licensing agreement for a heart disease drug with Jiangsu Hengrui Pharmaceuticals worth up to $2 billion.