[fixes #172] fixes factor product for factor with no common variable