A GP surgery near Swindon has been placed into special measures to protect patient safety.