[MOD] Optimized `fn:subsequence(..)` and sequence casts.