imap: Fixed response check for EXPUNGE command