ropes: Fix the behavior of `RopeBuffer.clear` when used with `to_s`.