[BUGFIX beta] Throw a sensible exception from SubArray.removeItem when not found.

- Throw a descriptive exception from SubArray.removeItem when there are
  no operations in the SubArray.
- Test that the correct exception is thrown from SubArray.removeItem.