Deductions & credits

No.

The requirement for paying Social Security and Medicare taxes is based on if she meets the tests to be a Resident on her own.  Elections to treat her as a Resident (such as the one required to file Jointly) do not make her an actual Resident yet, so she is not subject to Social Security and Medicare taxes.