Discovered by #322.
Found another case where (?0) is improperly handled:
re> /(?0)*./endanchored,ungreedy
data> abcd
0: abcd
data> abcd\=no_jit
Failed: error -52: nested recursion at the same subject position
I think this is related, if not a corner case of, #331.