Tripartite entanglement and quantum relative entropy