Fix error propagation of index expressions

x[_error] should be an error.
Fix error propagation for CondExp