Stocks saw considerable volatility in reaction to the Federal Reserve’s monetary policy announcement before ending Wednesday’s trading modestly higher. With the gains on the day, the major averages extended the upward move seen in the previous session.