Fix missing args issue in mine.send

Resolves #15309

mine.send was not functional for any function which didn't contain
defined arguments.

This forcibly packs those into the function call if they aren't
detected. 

I'm not totally convinced this is the best way to do this, so
other approaches are welcome.