There was no drama, no rally, no records set. But stocks closed with small gains sprinkled across a variety of industries as big indexes continued to trade near record highs. All 10 S&P 500 industrial categories rose. The Russell 2000 index of smaller companies advanced 1.15%, the most among US market benchmarks. The gains were modest, but they continued a powerful rally that has driven the S&P 500 up nearly 24% this year. Energy stocks had the biggest gains, followed by tech and consumer discretionary stocks. Builders rose after Tri Pointe Homes said it would combine with Weyerhaeuser’s home building unit in a $2.7 billion deal.