Wow, that sounds incredibly stressful.
I think you did the right thing. You did something that appears to your wife to be unfair etc, but you were compassionate and may well have saved her life.
You also protected your own sobriety, and that's obviously really important!