Remove unnecessary typedef and script.h include

script.h is included to define CTxDestination, which is already defined in script.h and not used here.
Look like rests from a refactor waiting to be cleaned up.