Transgender U.S. service members will be separated from the military unless they receive an exemption, according to a new Pentagon policy disclosed in a court filing on Wednesday.