Revises template parameter storage.
Fixes remaining errors in <algorithm>.
Worsens total error count, but enables correction of dependent default template parameters.
Trades errors for double free.
It's possible the double free originated before this commit.
Implements definition_valued::duplicate, correcting template instantiation problems.