Wrap delete operations for router in a transaction

Fixes: GH #8
Fixes: LP bug 1184518