Revert "Don't backtrack through subpattern references ad infinitum."

This reverts commit 69f0d7c0244234b79bb1b78d819291eeae0ae46b.