Actually, it's fairly clear that Kuja dies in FFIX. His last words are indicative of him knowing that he will die.

However, Vivi does not die during the course of the game. It is THOUGHT that he will soon die, due to the wording of the letter's text that appears during the ending cutscenes. It's technicality versus semantics.