Stocks gained slightly ahead of the Federal Reserve's policy meeting this week.