Here's some sample code to do this:
ITensor U(i1,i3), S, V;
svd(T,U,S,V);
That's all you need to do. Initializing U with indices i1 and i3 tells the svd routine that those indices (along with a new one connecting U to S) should appear on U after the svd. The remaining indices of T will go onto V.
If you want to do the SVD approximately, do this:
ITensor U(i1,i3), S, V;
svd(T,U,S,V,{"Cutoff=",1E-8,"Maxm=",200});