[CIR] Fix assignment ignore in ScalarExprEmitter (#166118)
We are missing a couple of cases were we are not supposed to ignore
assignment results but did so, which results in compiler crashes. Fix
that.
Also start ignoring IgnoredExprs unless there's side effects (assignments) inside.