Convert operand to element type in channel send

Fixes #91