Remove obsolete global and aux column structures from patterns.