Similar Items: Congruence Closure Modulo Groups