The French cement company Lafarge on Tuesday agreed to pay $778 million in fines and forfeiture after pleading guilty in Brooklyn federal court to conspiracy to provide material support to ISIS and another designated terrorist group.