Set attributes from where clause on null relationship

When an association is created based on a null relationship, the
attributes from the where clause are lost. This fixes that behavior by
removing the overridden where_values_hash method and using the one on
the ActiveRecord::Relation class.

Fixes #11676 and #11675