Deadlock Avoidance Policies for Flexible Production Syustems with Multiple Capacity Resources