Regression test for optimizing, who used a wrong instruction for simplifying Equals(foo, false);