Kurdish forces backed by coalition air strikes fight off the most serious attack by so-called Islamic State in Iraq in five months, US officials say.