ir: Replace EnumMember with EnumDeclaration and stub things out.