Add inverseIf primitive