Surface stability in stress-assisted corrosion: a peridynamic investigation