The U.S. military has disabled advertising trackers on its phones and computers that can reveal a service member's location, according to letters the armed services sent to Congress.