the enemy of my enemy is my friend star trek