Japan confirms new prime minister