Insert blank line between labels with different prefix (i.e. substring from start to first '.')