event: Consolidate trivial ...ToAction cases that just clobber `type`.
event: Consolidate trivial ...ToAction cases that just clobber `type`.

This is a pure refactor within this function; the behavior observed
from outside it doesn't change.

vishwesh3/zulip-mobile,vishwesh3/zulip-mobile,vishwesh3/zulip-mobile,vishwesh3/zulip-mobile