Charges announced by chief prosecutor against former president concern a $2.5bn arms deal made in the 1990s.