[bugfix] Fix PrimaryVariablesSwitch::reset()

resize() does not reset the existing values.
Use assign instead to resest all of the vector's elements.
7 jobs for !2812 with fix/wasswitched in 10 minutes and 50 seconds (queued for 5 seconds)
Child pipeline (parent) latest merge request