Reconciling Legal and Technical Approaches to Algorithmic Bias