Sometimes, in the beginning, the male WILL stun himself rather than the female, but, usually, no eggs are released during that. If the entire spawn goes with the male stunning himself, and the female still releasing eggs, I don't think any will hatch, because there's obviously something wrong going on there.
In my spawns (and I've had quite a few, but I've lost count), the male does not get stunned after a correct embrace, but the female usually floats at the top, completely stunned, until the male has collected most of the eggs, if the male bothers to collect the eggs at all.