It looks like this specific case was already fixed in https://www.openstreetmap.org/changeset/138373116

See http://nrenner.github.io/achavi/?changeset=138373116 - it split way and created steps where steps are