Japan's ruling coalition lost its parliamentary majority, raising uncertainty