Oh, right. Damn.
Her not being at peace until Ben dies just makes it seem like she was intentionally trying to distract him so Rey could kill him.
That, plus Luke says Leia has a vision that her son will die, so she stops training. But her son still ends up dead. I feel like they really didn’t think this aspect of the film through that much, or at the least the last minute changes they did messed with how it came across.
I’m not really sure how to untie this knot, honestly. Really the simplest solution is just to leave it as is.