m0useanswered grow question a year ago ....might be a possibility.... If it was truly a male clone that reversed its self. that's a first for me, good to know, quick google shows people reverse males with Ethephon/Ethylene to see how they will pass on flower traits. I still doubt it was gnats that did it in though. Gnats just don't cause that much stress if you only have a few flying aorund like you have been documenting in the questions form instead of your diary...
Most cannabis plants will hermi if you keep then going past their prime, they do it as a survival tactic. If the pollen and flowers where from a male like you said, the seed would be a mix of male, female and super male. XY+XY = XX,XY,XY,YY
YY do not normally grow and selfed back crosses lack genetic diversity and have the possibility of being duds