France court orders release of Lebanese militant after 40 years in jail