Carrefour is to cut jobs from its hypermarket business in France in a bid to become more competitive in a challenging market for the world's second-largest retailer.