The dollar strengthened versus all its major peers as rising oil prices spurred swaps traders to dial back bets on Federal Reserve interest-rate cuts this year