How to Use the Foreign Tax Credit in 2022