Theory and Algorithms for Learning with Multi-Class Abstention and Multi-Expert Deferral