Address memory leak when processing dnssec-policy clauses
A kasp structure was not detached when looking to see if there was an existing kasp structure with the same name, causing memory to be leaked. Fixed by calling dns_kasp_detach() to release the reference.
(cherry picked from commit 694440e6)
Closes #3065 (closed)