I’m still not sure TROS even means to state that Luke knew Rey was a Palpatine during the events of TLJ. But it might be easy to remove the idea that “Leia knew.” Is it just that one line that sets that up?
Adding Luke to the Palpatine deathsplosion 2.0 doesn’t seem fruitful to me, though.