A study has found that a local event rather than a global shift in climate caused the mass extinction in South Africa