Dear Rahul,
Ex-Gratia is an amount which is been added as pre-defined bonus.. as its a part of CTC so it must be paid even in case of separation whether its before or after diwali.. actually it is been paid on pro-rata basis, so at that time it must be paid according to his length of service.. if not defined any prior clause, in HR Policy..
Regards,
Amit Seth.