Caterpillar to Buy Mining Equipment Firm for $8 Billion