Tanzania’s president sacks foreign minister