[server][DBAgentSQLite3] Implement code to drop unnecessary indexes.