Fix Firefox "send sendValue to newborn generator" error

Turns out Firefox doesn't like anything other than 'undefined' being
passed to a new generator, so we make getSendValue() return 'undefined'
for LEAF nodes.