A US-led coalition air strike during an offensive against so-called Islamic State (IS) may have killed Iraqi soldiers, the US military says.