What should one do if they overpaid Khums?
Can they deduct that amount from their next year Khums calculation?

No. They should contact the office of the marajie and seek permission first