Move impdecl from decl into topdecl1.