Use only middle replentries for compound word checking
Use only middle replentries for compound word checking

allowing compound filtering for compound stems and affixed
forms in every languages.

This replaces the partial fix for the CHECKCOMPOUNDREP regression
in commit 1fada01663b29b57c010a9c274e45a5cf9ecf222.

hunspell/hunspell,hunspell/hunspell,hunspell/hunspell,hunspell/hunspell