Properly delete preedit without action handler (FWNX-1329)

Even when we don't have an action handler and so can't use
rollback we have to delete the preedit text when we commit.

Change-Id: I145070696183f9270b04deed1b2ed6a6fdc51edb