WriteWitnessCache: Catch errors and abort transaction
WriteWitnessCache: Catch errors and abort transaction

Closes #1456

bitcoinsSG/zcash,bitcoinsSG/zcash,bitcoinsSG/zcash,bitcoinsSG/zcash,bitcoinsSG/zcash,bitcoinsSG/zcash