A US offensive aimed at uprooting al-Qaida in Iraq insurgents in western Iraq before next week’s constitutional referendum killed 29 militants, including 20 who died when warplanes bombed an abandoned hotel they had commandeered, the military said today.