M22: A Communication-Efficient Algorithm for Federated Learning Inspired by Rate-Distortion