Check that transfer_all on a linked account does not lead to empty linked account

Not sure which behavior we want to have but after #153 (closed) it would be better to simply unlink the account.