The Australia and New Zealand Banking Group has agreed to pay a $25 million penalty to resolve proceedings by the Australian Securities and Investments Commission alleging the bank short-changed hundreds of thousands of customers to the tune of $200 million.