Fix retry logic in autocommit transactions, check for errors from __wt_cache_full_check.
refs #486