Thousands of fires, most of them set to clear land for plantations that make palm oil, created thick clouds of smoke that disrupted air travel and sickened people.