The Islamic State’s systematic extermination of the Yazidi minority and the horrifying pictures of radical Islamists’ children carrying around the heads their fathers chopped off have been vying for attention with a political crisis that threatened to destroy the central government in Baghdad.