Qatar: Cutting defense ties with Turkey illegal