delete all splits of a transaction

When delete an account, delete all splits in related transactions.

In response to #242 .
return before ending the transaction?