[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 18 minutes and 54 seconds (queued for 4 seconds)
Child pipeline (parent) latest merge request