France ends partnership with US analytics firm Palantir