Troubleshooting

You are correct, the amount transferred to the spouse should be subtracted from the donor's pension amount. But TT does not do that and there is no way to override it.