lib/database: delete stemmer on destroy