todomvc: fix removeTodo()

Fixes following error while removing a task: Breaking on exception: type 'bool' is not a subtype of type 'void' of 'function result'.
Merge pull request #588 from antonmoiseev/patch-1

todomvc: fix removeTodo()