* refactored the pass_typecheck code for and/or/xor/comparisons, so that the logic is simpler, but still yields exactly the same result

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26823 3ad0048d-3df7-0310-abae-a5850022a9f2