Compiler [Typechecker]: Improved backward compat. Add implicit zero types to function argument types in compat mode. Also some other minor type cleanups.