I think the Devil was just lucky with his rolls to kill the Mindflayer quickly. I have done this part several times, and only once (before last patch) the Mindflayer was killed by the Devil.