Deductions & credits

It can’t be recovered.  You need to inform your employer of the marriage as soon as possible so they change the tax treatment going forward, but there is no recovery procedure, since the covered partner’s benefits were still taxable income at the time.