ir: don't add terminals to ConstantStrings.