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

also Restrictions.ne when passed null, should create a NotNullRestriction