move handling of db relations during transaction delete into provider, make sure that peers of split transfers are deleted