unicode.case: fix stack effect for replace.
sequences: Add join-as, which takes an exemplar. Move split-subseq and replace from unicode.case to splitting and fix an infinite loop with split-subseq. Add docs/tests.
peg.ebnf: fix usage of replace.