Optimized SWAP networks with equivalent circuit averaging for QAOA