Miramanee died and so did the baby
If I had gotten married while under alien influence, technological or otherwise I would not consider myself married when I came to. I doubt Sarah Sisko considered herself married to Ben Sisko once she was released from the Prophet's possession of her even if she had a marriage certificate.
I also wouldn't consider myself married if some babe danced with me and then I found out later this meant I was married in their culture which happened to O'Neill in Stargate. And pretend happened to Mal in Firefly. I'm okay about these hokey storylines which seem all about the big gag reveal "He's Married!" until they take it seriously and act like it's an actual legal and/or moral issue.