The "most correct" approach is the #3 you've listed, but this has a major issue: your better answer is going to start at 0 versus whatever score the accepted answer has, so it's probably never going to be seen and thus will never get upvoted1, so the older answer will keep being seen and keep being upvoted, thus rendering your effort to improve things completely moot.
I personally have no issues with #1. Claiming that improving someone else's answer "conflicts with their intent" is nonsensical at best - their intention was to write a good answer, you are making that answer better, how can an improvement ever conflict with what they wrote? If we take this "argument" to its farcical extreme, any edit to anyone else's content - no matter how minor - could be construed as "conflicting with their intent".
And it doesn't matter anyway, because as soon as you post something on Stack Overflow, you no longer own it2; Stack Overflow owns it, due to the CC BY-SA 4.0 license. Which means that anyone is free to edit anything to their heart's content, and doing so is encouraged when it results in improvement. The only thing that "conflicts with their intent" is really applicable to, is questions (which, again, is why the only people who should really be editing questions are the people asking said questions).
1 For everyone being pedantic about this statement, I'd like to introduce to you a concept called "hyperbole".
2 I'm well aware this is not technically correct, but it's de facto correct.