command_buffer/submit.rs read each VkQueue's completed value once for the hazard tracker, whose
plan of the batch orders after the work it has not seen complete, then read its own queue's value
a second time for WorkCounts::batches_with_none_pending and kin. A completion seen between the two
reads made the count say "nothing pending" of a batch the plan had ordered after work in flight,
so bare_starts and batches_with_none_pending could disagree for the same batch.
The count now comes from the tracker's own state: Tracker::pending_before(at), the batches of at's
queue before it past the last value Tracker::completed took for that queue, the value the plan
retires by. The second read is gone.
Test: tests::tracker::a_batch_is_counted_pending_behind_exactly_the_work_its_plan_orders_after: a
read after a write planned with the write's batch unseen has a barrier and counts it pending, and
planned after its completion neither; another queue's completion and an older value leave the
count as it was.
(cherry picked from commit 4e4ea3cfa3d5412d14a2df75d8ccf60ae8440feb)