In fight against IS, Iraqi PM sacks 24 officials