Fix statements' emit rules for If expressions