Dollar gains but Wall Street retreats as Fed nixes dovish measure