To expand the title question - How does Google (or other search engines) detect a link is on a category (archive) page and not count it as an internal link? (Assuming they don't).
ie.. Why don't lists of posts on a category page not count as an internal link?