The dollar recovered ground against most major peers on Tuesday and the Japanese yen steadied around seven-month highs against the U.S.