PIG-2769 a simple logic causes very long compiling time on pig 0.10.0


git-svn-id: https://svn.apache.org/repos/asf/pig/trunk@1430623 13f79535-47bb-0310-9956-ffa450edef68