In a joint operation with the US, Iraq says it has killed the leader of the group in the country, with two US troops injured.