dsdb-schema: make deduplication of class and schema possible (bug #8680)