You choose an envelope, and find that it contains the number 8.3467394756297
You're actually given the chance to switch without having first seen the value in the envelope.
If we forget the notion of switching and expected values for a second, I just want to focus on the very start of the statement where you say:
Call the number I've chosen Z. The other envelope contains either Z/2 or 2Z
The issue as I see it is that the probability exists that the other envelope contains Z/2 or 2Z, but not both - ie. the probability that one of those exists negates the other from existing, because in order for both to be possible you're introducing a 3rd value where only 2 existed at the start.
If you ignore all the envelopes and switching and whatnot you can boil it down to this:
I have two values A and B. I ask you to select one. What is the probability that the remaining value is C? Obviously it's zero.
So if A and B are envelopes, how does this change? If B is twice A how does it affect anything?
All the other information provided in this paradox just serves to distract you from the fact that in order for you to have selected a value, and for the probability to exist that either half that value or twice that value is in the remaining envelope, you would have had to have 3 values present at the start of the exercise.