A Metric for Linear Symmetry-Based Disentanglement