AST: Do not clear Object's init if it is used to set the IR init.

This was done in preparation for dynamic static initialization, but interferes with converting const objects to IR expressions.
AST: Improved logical op codegen for known operand values.