Added min and max builtins.
min/max now always reduce compatible terms.
Cleanup. Now responds to env.compress