Stock indexes in Asia closed mixed after the Nikkei 225 gave up early gains late in the session.