cmd/go/internal/par: fix TestWorkParallel retries
cmd/go/internal/par: fix TestWorkParallel retries

When the test retried multiple times, it reused the same Work variable,
causing in the builders being flaky due to panics. I was able to
immediately reproduce the failure with stress and -race:

	$ go test -race -c && stress -p 32 ./par.test -test.run=TestWorkParallel$

	/tmp/go-stress909062277
	--- FAIL: TestWorkParallel (0.07s)
	panic: par.Work.Do: already called Do [recovered]
		panic: par.Work.Do: already called Do

Instead, use a new Work variable at each retry. Now, the line above
seems to never fail. Of course, much higher 'stress -p' values will
still result in "does not seem to be parallel" test failures since the
machine lacks resources. But those are test failures, not panics.

Fixes #26642.

Change-Id: I5e962eca7602cf413d911ff5669f56d4f52da5a7
Reviewed-on: https://go-review.googlesource.com/126355
Run-TryBot: Daniel Martí <29bf28b42a938ace12a5819da4ed4ba03d82f315@mvdan.cc>
Run-TryBot: Bryan C. Mills <1c8aad60184261ccede67f5c63a0d2a3bf3c9ff4@google.com>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Bryan C. Mills <1c8aad60184261ccede67f5c63a0d2a3bf3c9ff4@google.com>

cloudflare/go,nawawi/go,CAFxX/go,akutz/go,golang/go,akutz/go,akutz/go,golang/go,cloudflare/go,golang/go,CAFxX/go,cloudflare/go,josharian/go,akutz/go,akutz/go,nawawi/go,cloudflare/go,CAFxX/go,akutz/go,nawawi/go,CAFxX/go,akutz/go,cloudflare/go,nawawi/go,golang/go,josharian/go,josharian/go,golang/go,golang/go,josharian/go,josharian/go,josharian/go,CAFxX/go,nawawi/go,cloudflare/go,cloudflare/go,golang/go,josharian/go,golang/go,CAFxX/go,josharian/go,CAFxX/go,cloudflare/go,nawawi/go,akutz/go,nawawi/go,nawawi/go,CAFxX/go