[MOD] Optimized `fn:subsequence(..)` and sequence casts.
[MOD] `Expr#markTailCalls()` does not replace expressions any more.
[ADD] Test case for TCO on function items.