Yashasvi Jaiswal and Shubman Gill's 165-run opening stand helped India level the series 2-2 with a nine wicket win.