Before this commit, if we declared an equational lemma using 'def', then it would not be correctly added to the simp/hinst lemma set. The new test exposes the problem.