scheduler: cleaning up schedule on command expiration

When a command expires, scheduler is looking for circuits having
'failed' state on execution. These circuits are rescheduled with
standard default values, having only wol/delete/done phases.