in fact if free will has any role, it would be to allow the robot to be good, not bad. — TheMadFool
This is my view as well. The kind of "free will" that people like Plantinga (originator of the free will theodicy) use is incompatibilist, where it just means non-determinism, which is to say, randomness. They say that without free will, humans would have been like robots, and so not moral agents, just doing what God programmed them to do. But take a robot and then add randomness somewhere to its programming. How does that make it in any way better, or more of a moral agent? It randomly does otherwise than it was programmed to sometimes. What use is that?
On the other hand, a modern compatibilist conception of free will like that of Susan Wolff's is basically equivalent to the ability to conduct moral deliberation: it's the ability to make rational judgements about what to do, and for those judgements to be causally effective on what you actually do, rather than just reacting to stimuli in an instinctual or socially conditioned way without thinking about it, without any ability to recondition your own behavioral patterns.
That kind of compatibilist is free will is something that could in principle be programmed into a robot, and it would make the robot
more good, not more evil. The incompatibilist kind of free will that Plantinga thinks of would simply allow the robot (or robot-like proto-humans that, we presume, God would have otherwise programmed to do only go) to randomly fail to do what it was supposed to, i.e. to do evil. But that latter kind of "free will" is useless -- why would it be better to have that than not? The former type, on the other hand, is the quintessentially human thing that makes us moral agents capable of being virtuous or vicious.
Of course, on such an account, all wrongdoing is essentially a failure of free will, or else ignorance: it's either the lack of connection between self-judgement about what to do and what we actually do, some failure in the process of conducting that judgement, or lack of sufficient information to accurately conduct that judgement. So by giving humans stronger free will, of that kind, God would be ensuring that humans are
more virtuous, not just letting us accidentally, randomly stumble into evil, like Plantinga's incompatibilist free will would do.
So there is no justification for God allowing evil on account of free will, because the two are not in opposition.