You paid 166 and it was insured for 167?
You'd probably get more than 167 parting it out. Assuming the dent is terminal.
Try to post some pics of the dent. Some of the experts on here will know if it's repairable. Most things can be repaired. Just depends on how much you're willing to spend.