Iran's Quds Force head Esmail Qaani visited Baghdad to discuss Iraq's next prime minister and the future of Shi'ite militias amid US sanctions.