Task Assignment and Path Planning for Autonomous Mobile Robots in Stochastic Warehouse Systems