Merck & Co. agreed to purchase Cubist Pharmaceuticals Inc. for $8.4 billion in cash to add products to help fight the growing threat of drug-resistant...