Iraq’s outgoing prime minister Mustafa al-Kadhimi has survived an assassination attempt, the Iraqi military said, after an exploding drone targeted the premier’s residence in Baghdad early on Sunday.