Learning Robust Task Priorities of QP-Based Whole-Body Torque-Controllers