Stability of critical shapes for the drag minimization problem in Stokes flow