merge duplicates in probmod version of addConstraint