I admire your attempt to rationalize it for us, I really do.
But you need to accept this was just editorially mandated character assasination, and the writer probably just did the best they could to give him a 'heroic' death without being able to pull up a villain for him to fight.