Empirically optimum M1 operator for sd-shell nuclei