India’s Sensex index closed more than 400 points higher on Tuesday, defying a gloomy global mood as oil prices eased and domestic buyers stepped in.