Iraqi Kurds repulse Islamists attack