Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devices