The dollar took a breather from its recent gains on Tuesday, edging away from seven-month highs against a currency basket.