[lib] Refactor logout in invite links reducer
Summary:
issue: ENG-5825
We want to remove the links related to the keyservers the user has disconnected from
Test Plan:
Tested that when deleteKeyserverAccountActionTypes.success is dispatched, only links of the specified keyservers are removed.
Tested that if the user logs out from the app, the links store is cleared as it used to be
Reviewers: michal, kamil, ginsu
Reviewed By: michal
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D10659