Yahoo’s financial performance improved slightly during the fourth quarter while the company dealt with the fallout from massive security breaches that have jeopardized the $4.8 billion sale of its internet operations to Verizon Communications. The fourth-quarter report released Monday provided the latest snapshot of a shrinking company that has been steadily losing ground in the digital advertising market that generates most of its revenue.