Graphite: parser fix for hard case where ip numbers are used as segments, Fixes #1224