ENG-4899: mispartitioned txn restart handling on command log replay