Aquila Inc. has agreed to pay $10.5 million to settle a class-action lawsuit that accuses the utility of misleading employees by encouraging them to invest retirement funds in the utility's stock during its risky boom years.