Add a test for handling back-references within subpattern references referring to registers outside the referenced subpattern.

This currently fails.  When entering into a subpattern reference, Perl
only creates new registers for those capture groups located inside the
subpattern reference.  The capture groups outside the subpattern
reference retain their values.