[ENG-10847](https://linear.app/comm/issue/ENG-10847/update-replacemessagestorethreadsoperation-to-decide-if-data-should-be).
I decided to go for the approach when we split one operation into two, where in one there are only backed up threads and in the other operations only threads that are not.
Depends on D14825