Iran and Iraq have close ties through trade, culture and religion. But Iraq relies on US to combat the threat of ISIL.