The head of the International Monetary Fund, Christine Lagarde, is to stand trial over €404m payout to French tycoon Bernard Tapie, an appeals court confirms.