Imane Khelif from Algeria previously failed a gender test after being found to have male XY chromosomes and high testosterone levels