Getting back on topic what I've been able to piece together on Imane is that she was born female & Algeria has strict or nonexistent transgender laws. How sporting agencies reconcile rare genetic mutations like Swyer syndrome is hard to answer. I'd lean to letting an athlete, in this case Imane, compete.
Haven't read too much into the new title IX revisions but if it is true that it's as simple as just identifying as female to participate in sports then this should be reversed immediately.