Stability of modified electroweak strings