The three major indexes ended Wednesday's session with gains after the release of the Fed's meeting minutes.