fix: Preserve concrete dependency precedence (#12682)
## Summary
- Prevents peer dependency workspace specifiers from adding incorrect
internal graph edges when a concrete dependency declaration for the same
package name already exists.
- Keeps package graph behavior aligned with Yarn Berry resolution for
packages that use an external package plus a peer on the same name.
## Test
- cargo test -p turborepo-repository