duchain: add sane default type for declarations

Authored by egospodinova on Aug 16 2017, 3:10 PM.