Remove redundant memberof tags.