Text this: A Multistep Look-Ahead Deadlock Avoidance Policy for Automated Manufacturing Systems