[Truffle] Fixed an infinite loop in RubyRegexp#gsub and got some more specs passing.