emit_tupleref: return an undef value instead of a non-inserted phi node