Optimize AR::Relation#pluck

Less intermediate arrays and hashes, less lines of code.