I got around it by killing the Duergar before even knowing I could take him with me!! - it's not a difficult fight, you're quite a long way up, would be shame if someone fell off the side.... So that might be the best workaround, kill the Duergar first, then talk to Glut and satisfy him they're dead. Then turn on him.