Implement MathPowStub::Generate

Note that one path through this code which lacks test coverage remains
unimplemented.