He met with Iraq's prime minister and other top officials