India's nervy four-wicket win