Remove spurious type cases in Scalar::to_string