Home market Japanese stocks gained, with the benchmark Topix Index set for its highest close since 1991