Ravindra helps New Zealand pull off dramatic draw in first India Test