Influence of transmission line on stability of networks containing ideal negative capacitors