Fix SPLICE operation to support one-based indexing

See #347
Fix error messages in tuple_update
Merge remote-tracking branch 'origin/fix-tuple-update'