Fix some itruncalypse issues in base/string.jl