Revert "Fixed panic when there are empty segments, for example in the ro...

Reverts gocraft/web#11
It turns out this breaks the tests. I also disagree with the behavior. Will investigate panic and fix in a separate commit.