Condense whitespace when calculating message snippets.

Summary:
Note that this will not apply to already synced messages.

Fixes T8

Test Plan: Manual testing.

Reviewers: mg

Reviewed By: mg

Maniphest Tasks: T8

Differential Revision: https://review.inboxapp.com/D151