sql: Clean up error handling in execStmtInOpenTxn
sql: Clean up error handling in execStmtInOpenTxn

Instead of scattering `txnState.updateStateAndCleanupOnErr` throughout
`Executor.execStmtInOpenTxn`, we now handle the cleanup in a single
deferred function.

paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach