Removed inefficient code in ActiveRecord::Associations::CollectionAssociation#ids_writer

`klass.find(ids).index_by { |r| r.id }.values_at(*ids)` is just `klass.find(ids)`.