When executing \du, you can see duplicates of the same role in 'member of'. This happens when admin | inherit | set options are granted by another role.
There is already an ongoing patch discussing the needed changes to psql \du because of this change in tracking membership grant attributes.