fixed bug in creation of complex fault surface crossing IDL

Fixes: https://bugs.launchpad.net/oq-hazardlib/+bug/1176066