Avoid proliferation of useless ByteVector.empty segments