Marina Silva resigned as Brazil's environment minister to run for Congress, ending a tenure that saw deforestation cut by more than half since 2022.