Fixed typechecking for declarations with init.
Merge branch 'master' of https://github.com/metaborg/metac