Hundreds of firefighters and more than 1,000 military personnel had battled the blazes since late April