Prop Tendai Mtawarira has undergone successful surgery to correct the irregular heart rhythm which forced him out of South Africa's tour of Europe.