The Pentagon will let transgender individuals serve openly in the U.S. military, ending one of the last bans on service in the armed forces.