The U.S. Postal Service has settled a lawsuit and agreed to reverse changes that had slowed mail service across the country. It also said it will prioritize election mail in the coming weeks.