No.
Germany pre-Hitler arleady have anti-polish alliance,they would eventually start war.
And soviets wonted conqer entire world no matter who ruled there.It is like with killing Putin now - as long as KGB rule there,politics would be the same.Evry soviet leader would start WW2 with alliance...