[lib][native][web] Extract removeMemberFromThread and createRealThreadFromPendingThread to separate file
Summary:
Helping resolve import cycles in D12073.
Depends on D12097
Test Plan: Flow and CI
Reviewers: inka
Reviewed By: inka
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D12098