This fixes removing a task via a reload.

It adds a test and a fix.
Merge pull request #1208 from benfitzpatrick/fix-reload-remove-task

This fixes removing a task via a `cylc reload`.