Yen trims gains against dollar after Japan's intervention in markets - Reuters