India mulls better ties with Taliban to check China