Deductions & credits

I certainly would not guess the IRS response to your argument but you certainly have a reasoned position. You could take the partial exclusion with the hope that you would not be audited and that they accept your reasoning if you are.