Merge pull request #1193 from benfitzpatrick/restart-runahead

cylc restart: fix 'runahead' state handling