Carlos Queiroz's Iran sealed top spot in Group D at the 2019 AFC Asian Cup, after a 0-0 draw with Iraq, who finished second to qualify for the round of 16.