The impact of the months-long fires has prompted Singapore's leader to vow legal action against any companies responsible for the blazes that have made regional air quality among the world's worst.