Removed a static method that wasn't being used anywhere.
Fixed #2388: String#b improperly updates encoding of source string.
[Truffle] Fixed an infinite loop in RubyRegexp#gsub and got some more specs passing.
Revert "Fixed #2388: String#b improperly updates encoding of source string."

This reverts commit 4e4073299cd2199116e8396f6984d7ace0063cf9.
[Truffle] String#gsub allows an optional block.
[Truffle] Initial implementation of String#gsub with a block.
[Truffle] No need to loop over all regions if we only care about the whole match.
[Truffle] Ensure we call 'to_s' on evaluated block values in String#gsub.
[Truffle] Pass encoding into eval.
[Truffle] Last of the encoding specs.
[Truffle] All hash specs passing.
[Truffle] A few specs passing.