Car totaled- is it normal to have attempted repair costs deducted from the payout?

Logically, it makes no sense for them to be able to deduct anything from the cost of the car if it is agreed to be totaled. I also agree that if you can’t get them to be reasonable, I’d contact your state insurance commissioner and also find a new insurer going forward!