fix emitting IR for rhs of initialization

but it doesn't work for non-constant multi returned values.