LCS gives up optimization for logical operators with side effects

(amend 4b84bfef6d8832be54595055693d03ea127c4a77)
refactor
resolve a todo: t/run/303.infer-literal-types-in-member-var.jsx