An optimized policy for the reduction of CO2 emission in the Brazilian Legal Amazon