storage: Move the txn update code in resolveExplicitIntents to a separate function
storage: Move the txn update code in resolveExplicitIntents to a separate function

Define updateTxnWithExternalIntents, which persists the transaction
record with updated status.

glycerine/cockroach,veteranlu/cockroach,vaibhavarora/cockroach,vaibhavarora/cockroach,paperstreet/cockroach,paperstreet/cockroach,vivekmenezes/cockroach,vivekmenezes/cockroach,paperstreet/cockroach,cockroachdb/cockroach,petermattis/cockroach,glycerine/cockroach,vaibhavarora/cockroach,cockroachdb/cockroach,sunya123/cockroach,arjun4084346/cockroach,maxlang/cockroach,maxlang/cockroach,cockroachdb/cockroach,sunya123/cockroach,veteranlu/cockroach,maxlang/cockroach,maxlang/cockroach,vivekmenezes/cockroach,cockroachdb/cockroach,vivekmenezes/cockroach,cockroachdb/cockroach,paperstreet/cockroach,glycerine/cockroach,paperstreet/cockroach,arjun4084346/cockroach,vaibhavarora/cockroach,arjun4084346/cockroach,veteranlu/cockroach,vivekmenezes/cockroach,vivekmenezes/cockroach,arjun4084346/cockroach,paperstreet/cockroach,glycerine/cockroach,petermattis/cockroach,arjun4084346/cockroach,veteranlu/cockroach,maxlang/cockroach,petermattis/cockroach,vivekmenezes/cockroach,cockroachdb/cockroach,sunya123/cockroach,vaibhavarora/cockroach,sunya123/cockroach,paperstreet/cockroach,arjun4084346/cockroach,vaibhavarora/cockroach,glycerine/cockroach,glycerine/cockroach,glycerine/cockroach,arjun4084346/cockroach,cockroachdb/cockroach,veteranlu/cockroach,vivekmenezes/cockroach,paperstreet/cockroach,veteranlu/cockroach,cockroachdb/cockroach,maxlang/cockroach,maxlang/cockroach,glycerine/cockroach,petermattis/cockroach,sunya123/cockroach,sunya123/cockroach,maxlang/cockroach,vaibhavarora/cockroach,petermattis/cockroach,veteranlu/cockroach,vaibhavarora/cockroach,sunya123/cockroach,petermattis/cockroach,petermattis/cockroach,sunya123/cockroach,arjun4084346/cockroach,petermattis/cockroach,veteranlu/cockroach