cpp: fix Fragments comparison
cpp: fix Fragments comparison

Consider orientation

https://travis-ci.org/starius/lua-npge/builds/50001655
was failed because of fragments of length 1, with
same start and stop, but different ori.

npge/lua-npge,npge/lua-npge,npge/lua-npge,starius/lua-npge,starius/lua-npge,starius/lua-npge