Van der Dussen and Rabada put South Africa in charge of second Test