I don't think Demyx was out to kill Sora. I think that Demyx was confusing Sora with Roxas. I don't think Demyx know that Roxas had joined back up with Sora, so he thought he was just trying to fight and kill the traitor Roxas. And about Xigbar, maybe he had gotten the go ahead to dispose of...