support static evaluation of logical operators (&&, ||)

I don't have a test case for this yet because I actually couldn't reproduce the issue I was running into. But I was getting the error `Unreachable point. logically broken.`, and I traced it back to these missing operators.