The boxes marked 'Duplicate' indicate that there are two different relationships between the person selected and the duplicated person. For this reason, you can't delete just those boxes, but clicking on someone else may mean that they don't show. There is only one set of information stored for each individual even if they are shown twice on the tree.