Fixed SumOut for factors with multiple remaining variables