Clear the BooleanBinaryExpression's type before resolving type.