HHH-8025 Revert "HHH-2951 Restrictions.eq when passed null, should create a NullRestriction"

This reverts commit 5177de461b720b330d288f071a6508cefa297d6d.
HHH-8025 Implemented eqOrIsNull and neOrIsNotNull criteria