Tazeem takes four to put Gloucestershire on back foot, until South Africans got busy