query: Remove retry code from attach and commit
query: Remove retry code from attach and commit

- Don't retry in attach_dbs() or commit() if the query returns SQLITE_BUSY.
The busy handler should take care of SQLITE_BUSY in most cases, and the
retry code in do_transaction() should deal with the rest.

cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr,cmusatyalab/openisr