The investment adviser Ruane Cunniff & Goldfarb Inc. struck a $21.4 million deal with a group of former DST Systems Inc. workers to settle a proposed class action in New York federal court accusing the firm of pursuing an unwise investment strategy for DST's 401(k) plan.