MB-12598: Add breaks to switch-case to ensure proper behavior

This was leading to a crash since not having breaks meant that we
might execute a transition improperly.

Change-Id: I9c71f01517611edb58883c6d5b120cbafaab22ab
Reviewed-on: http://review.couchbase.org/43057
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>