Includes HABTM returns correct size now. Fixes #16032

Includes HABTM returns correct size now. It's caused by the join dependency only instantiates one HABTM object because the join table hasn't a primary key.

Fixes #16032.

### Examples:

before:
```ruby
    Project.first.salaried_developers.size # => 3
    Project.includes(:salaried_developers).first.salaried_developers.size # => 1
```
after:
```ruby
    Project.first.salaried_developers.size # => 3
    Project.includes(:salaried_developers).first.salaried_developers.size # => 3
```
They are actually not the same, but the value on line 146 is used by `model_cache`, this value is used by `seen`. `model_cache` and `seen` are two different objects, or we can use `row.object_id` to keep them consistent?