Japan’s ruling bloc gains in upper house vote