Major stock indexes advanced on Tuesday after stronger-than-expected U.S. economic data, while the yen gained on the dollar