Chilean authorities declare state of emergency as raging forest fire forced thousands of people to flee their homes