Fix handling of all-txouts-unspendable transactions

Previously DisconnectBlock() would fail when undoing such transactions
because it assumed all transactions will add at least one output to the
UTXO set.