United Rentals Inc. agreed to buy H&E Equipment Services Inc. for $3.4 billion in cash, gaining a fleet of equipment to serve ...