Allianz Global Investors has agreed to pay a $145 million settlement to a group of investors who claim the mutual fund misrepresented investor risk prior to its collapse.