IMF chief Christine Lagarde has been charged in a corruption investigation dating from her time as French finance minister.