A Multi-Task Approach to Robust Deep Reinforcement Learning for Resource Allocation