Semenya was fighting them because they demanded she take drugs or do surgery to bring the testosterone down. She and her lawyers argued this violated her human rights. Problem is, even with now low test she underwent puberty with male levels of test, which permanently affects many things. Surgery or drugs is not an elegant solution to the problem.
Has someone authoritative said how this new creature failed sex- or gender testing? I don't know if the IOC would brush this under the carpet seeing how the sporting bodies handled Semenya. But they cleared her, it was just the boxing body that banned her.
I hate it when they just won't say clearly what happened.