Fixes Array.prototype.shift to not remove 0 at index 1. Fixes #472

This was actually an issue with Array.prototype.shift, not Array.prototype.splice, but alas.