Emit ternary conditions and skip function wrapper for simple condition bodies