3 Detained in Afghanistan Can Take Challenges to U.S. Court