Fix UID command errors in actions syncback.

Summary:
* Chunk UID fetch in generic IMAP syncback.  Fixes "BAD ['Command line too
  large']" error when there are lots of messages in a trash folder, and you try
  to fetch the headers for all of them.

* Make crispin_client.copy_uids a no-op when the uids argument is empty,
  instead of trying to issue a malformed command. Fixes T500.

Test Plan:
Check via bin/inbox-console that offending IMAP commands no longer
raise errors.

Reviewers: kav-ya

Reviewed By: kav-ya

Maniphest Tasks: T500

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