vector: Allow negative and out-of-range slice indices
Previously, the "slice" expression returned an error if indices were negative or out of range, but to match MapLibre, we want the ECMAScript behavior of counting negative indices from the end and clamping the index rather than failing.