Resolve many arithmetic and conditional operations without eval

Addresses concerns in #8456.

@Jutho, can you test this in TensorOperations, or do you rely on features in the package that aren't in base?