Bug 941585: Better dealing with degenerate beziers. r=jrmuizel