isl_pw_*_plain_is_equal: fix handling of NaNs