I solved it by using a rogue with walk in shadows. Walk past the sentinels, flip the switch and the sentinels are destroyed.