BUG: fix broken operand initialization for einsum.

Closes #4528.