Japan’s Nikkei share average ended higher on Tuesday, as technology stocks extended their advance after the yen lost some gains.