Stocks rise, dollar pares losses after Fed signals more hikes ahead