changed background index to complain about uniqueness

Sends an error to the client instead of turning into a foreground index build.

#1091