On path-following methods for structural failure problems