Industrials lead stocks to close slightly higher