Dramatic reversals in provisions for credit losses drove profits at Fannie Mae and Freddie Mac during the fourth quarter of 2023.