add corresponding optimization to if emission for falsey constants