Modified Kirchhoff's Laws for Electric-Double-Layer Charging in Arbitrary Porous Networks