setting up a character to serve as a villain for three films then killing them off partway through the second is very clearly different than setting up a character to server as a villain for three films then killing them off at the end of the third film
by the logic you seem to be using, 9 also didn't undo anything 8 did, which is patently absurd