Add a method for removing a single wallet tx (rebased)

rebased version of PR #3675