Soul steal happens before true resurrection. However Brymril happens instant someone manages to dispel stuff on him. May it be any stuff. However his contingency is lower than his mind blank (and mind blank gets dispelled first if aiming dispel his buffs). Unless someone specifically targets the contingency and thus negates it before it triggers.