In a ruling unsealed Wednesday, a federal judge told government researchers to provide more consistent testimony regarding how the Centers for Disease Control and Prevention managed intellectual property related to research behind an HIV treatment that both the CDC and Gilead Sciences Inc. later claimed to have invented.