Indonesia agrees to repatriate ailing French national who has spent almost 20 years on death row