Frustration, curvature, and defect lines in metallic glasses and the cholesteric blue phase.