Fix missing pattern match case for DHApp in extractDeclHead