Ion current losses in the convolute and inner magnetically insulated transmission line of the Z machine