Bug 851064: Allow one-level deep ropes when flattening for substr, r=evilpies