Transactions run without stepdown/kill/terminate or chunk migration also have a non-neglible chance of getting retried because write conflicts and lock timeouts etc. So the assertions introduced in SERVER-77797 (here and here) should be changed to allow transactions as well.