Two French citizens are among four foreigners freed in the operation, in which two French soldiers die.