DRY malformed HTLC handling during htlc batch processing.