Fix a renumbering bug in condition regexp with a named capture.

Submitted by Ippei Obayashi in https://bugs.ruby-lang.org/issues/8583.
Merge pull request #20 from knu/fix_cond+named

Fix a renumbering bug in condition regexp with a named capture.