This PR is in response to #10026 and some feedback on #9938.
~Locally, all the checkqueue tests ran 3.2X faster on my machine. The worst offender, test_CheckQueue_Correct_Random ran 3.4X faster.~
~Removes
GetRand()and replaces it with a single deterministic FastRandomContext instance.~ #10321 replicated thisExposes more parallelism with relaxed atomics, increasing chance of catching a bug. This does not change performance on my machine.
Makes one test case more restrictive (xor instead of or, see #9938).