South Africa strike back with four quick wickets