US military pulls out of key eastern Afghan valley