Simplify halt code in Robot slightly