Shape Anisotropy and Resonance Mode Guided Reliable Interconnect Design for In-plane Magnetic Logic