It's a pretty neutral act.
Sacrificing the one to save the many is generaly the right thing to do if you could trust the demon.
As you can't (he's chaotic) it's best to agree and then attack when he drops the confusion spell.