Reduce dependencies of TR's base-contracted.rkt

This reduces the dependencies of typed/racket/base. Avoid
bringing in type environment dependencies by manually constructing
a #%type-decl submodule.