Leaders of the Group of Seven nations said Sunday they were preparing to help Brazil fight the fires burning across the Amazon rainforest and repair the damage even as tens of thousands of soldiers were being deployed to fight the blazes that have caused global alarm.