Nothing to do with EU Law. The new Reg do not provide for compensation in case of delay (just food, telephone calls and overnight accommodation where relevant). Other EU legislation (based on the Montreal Convention) do foresee liability, but this is a liability in damages: you need to establish the damage caused to you and ask AF for reimbursement.
The miles were just an ex gratia payment.