Refactor: Validation: Make parts of IsValidPeginWitness templated
Refactor: Validation: Make parts of IsValidPeginWitness templated

this should not change behavior

tdudz/elements,tdudz/elements,tdudz/elements,tdudz/elements,tdudz/elements,tdudz/elements