go/types: more internal cleanups

R=adonovan, bradfitz
CC=golang-dev
https://codereview.appspot.com/7492045