Ruturaj Gaikwad made an unbeaten fifty following Harshit Rana's three-wicket burst as India A crushed South Africa A by nine wickets.