remove redundant label test
avoid generating redundant labels and gotos in boolean and/or expressions
make overly complicated code logic in boolean and/or handling code understandable again
fix a reference leak for non-simple conditions in boolean and/or expressions