Freewill. God did not want robots. Freewill allows the ability to choose to sin or to obey.
Removing Satan from Earth won’t change anything. Man has already chosen the path of sin. The consequence of that choice is evil, suffering, and ultimately death.
Remove Satan from earth and man will be his own Satan; or maybe the president or Senate majority leader will fight it out for the job if they can hold off Hilary.