Illinois will receive $19.5 million from Moody’s Investors Service to resolve a federal investigation into its ratings of mortgage securities leading up to the 2008 financial crisis. The credit rating firm agreed to pay $864 million to settle with the U.S. Justice Department and 21 states that accused the company of inflating ratings on risky mortgage securities and contributing to the economic collapse.