Fix a bug that similar search doesn't use IDF for choosing target tokens

It used token ID instead of IDF.

[groonga-dev,02731]

Reported by Satoshi Mitani. Thanks!!!