'Libya, Turkey made clear deal to repel Haftar attacks'