Fix test_approx_eq with complex NaNs