South Africa’s largest airline, FlySafair, said it reached an agreement with cabin crew, ending a deadlock over compensation a week before the country hosts world leaders at the Group of 20 summit.