Remove the unused router_hex_digest_matches

When I removed some unused functions in 5bfa373eeeb, this became
unused as well.
Merge remote-tracking branch 'origin/maint-0.2.4'