BUG: #2052 del scalar subscript causes segfault

Fixes issue #2052, where attempting to delete a scalar member causes a
segfault. Returns ValueError instead, like when attempting to delete an
array element.

Also added a test for this bug.