Event Control for Deadlock Avoidance in Assembly Systems