[[https://github.com/bitcoin/bitcoin/pull/14964/files | PR14964]] backport
Pull request description:
If we happen to pick the same random coin to spend, there would be mempool conflicts in some runs of the test. Fix that by popping from a static list of coins to spend from.
Depends on D5189