France’s World Cup campaign ended in disappointment as Didier Deschamps brought his 14-year tenure as the national team’s longest-serving manager to a close.