Slightly improve compile times by making less unique temp types
Instead of incrementally building a new Invocation object for each modified parameter, we construct a single new type with all the new parameters.
GCC 9.2, Release, Contour Filter: Master: 1:08.96min, max memory: 1762644 KB This: 1:04.56min, max memory: 1730376 KB