Optimizing Stabilizer Parities for Improved Logical Qubit Memories.