Remove logic name equality test

Static equality test does not compile in clang++.