Dollar gains on trade optimism, yen slips – Reuters