fixed memory next issue, when same memory is written in different case statement
fixed reduce_xnor, logic_not bug translation bug