importprunedfunds only allowed importing transactions that credit the wallet
(checked via IsMine), rejecting transactions that spend from it. This could
leave a pruned wallet showing an incorrect balance: if a spending transaction
was removed with removeprunedfunds, it couldn't be re-imported and would fail
with "No addresses in wallet correspond to included transaction".
This routes the import through AddToWalletIfInvolvingMe(), which already
checks both IsMine() and IsFromMe(), so spending transactions are accepted
and the involvement check is no longer duplicated in importprunedfunds. A
functional test imports a transaction that spends from the wallet but has no
outputs to it (entire UTXO sent externally).
Fixes #21647