Fix some bugs.

- copying group id in generateStreetSeeds().
- if the edge splitting fails, stop splitting in generateStreetSeeds().