Only remove a snippet in insert mode

Part 2 of the solution to #159