In case this got buried in the forum, a while ago I made a small values tweak that turns off assassination attempts, that will remove your generals from their armies, because I always found that annoying. Or it at least reduces the probability so much that, in my testing, I did not have one of these events happen in maybe a hundred turns of playing.

File here.

Not sure about compatibility. This is tested with DeI 1.2.2. Pretty sure it will continue to work with future DeI versions, but possibly not vanilla R2TW, as the files might be laid out different.