Recognize additional unique constraint violations on SQLite (Fixes #782)