Eng 4638 Make sure widening or shrinking a unique index works correctly

Succeed or fail as appropriate.
Don't crash.