South Africa plans to resurrect flag carrier with state funds