[entropy.client.interfaces.dep] use set type for internal selected_matches

Given the current use cases, this is faster.
[entropy.client.interfaces.dep] introduce rewrite_selected_matches fixup code

See Sabayon bug #4475