Perelman came up in the Soviet system in the 1980s, when the discriminatory practice you mention was in force:
http://www.nybooks.com/articles/archives/2010/apr/29/he-conq...
Relevant quote:
"For a Jewish boy [sic] gifted in mathematics to be admitted to a university, there were three possibilities: hope you were one of the two Jews accepted at Leningrad University every year; go somewhere with less draconian admission policies; or make it onto the Soviet team for the International Mathematical Olympiad, which guaranteed admission to Leningrad University. Perelman decided to try out for the team."
Even in this case, the Soviets might have discriminated generations of Jews, but then they produced a Perelman.
It may well have been less "produced a Perelman" than "one Perelman out of hundreds snuck through".