U.S. stocks briefly extend gains after Fed statement