Fix {String,Symbol}#{[],slice} with untrusted Regexp

Symbol#{[],slice} with [Regexp, capture_index] is
depending String#subpattern too.