With enough time the SU would've eventually gotten there. Here I point to Cuba that similarly had reactionary views on LGBT issues in the past and have the world wide most progressive protections for LGBT people.
Joseph Stalin fought the Nazis on the battlefield, but he was their ally in the cause of bigotry and hate.
Stopping the Holocaust means that Stalin was a bigot and was hateful. Please get a grip.