Modify return value of String#slice! if idx == self.size
Merge pull request #2406 from iij/pr_string_slice_bang

Adapt a behavior of String#slice! to other Ruby implementations