Refactored WyeActor to accommodate HaltL/HaltR behaviour and fixed execution of cleanup code for left and right branch