On the computation of stable sets and strictly perfect equilibria