SERVER-67026 added a helper for making the fixtures retry internal transactions on LockTimeout errors. However, it doesn't handle the following case:
- The transaction involves two-phase commit and prepareTransaction fails with a LockTimeout error on one of the participant.
- The coordinator sends abortTransaction to all participant shards and get back NoSuchTransaction from the shard above.
- The transaction fails with a NoSuchTransaction error instead of LockTimeout.
Given this, the helper should be made to retry all transient transaction errors instead.