Capital allocation in mining: future-proofing Africa’s resource sector