Fix error propagation of index expressions

x[_error] should be an error.
Fix error propagation for CondExp
Merge pull request #2097 from donc/indexcondexp_error

Fix error propagation for x[_error] and _error?x:y