The American biotech company Eli Lilly will pay US 1.415 billion to resolve allegations of off-label promotion of a dementia drug.