Modify test expression to avoid numerical differences (#2402).
It looks like when comparing slice to block evaluation and aggressive
optimizations (-O3), we can sometimes get slightly different numerical
results due to operation fusing (e.g. fma).
Here we simply modify the reference expression to avoid this.
Fixes #2402 (closed).