Fix: lrmd: cancel currently pending STONITH op if stonithd connection is lost
The currently pending op is moved from rsc->pending_ops to rsc->active
(if it is asynchronous). Therefore, that also needs to be cleaned up if
the stonithd connection fails. Otherwise, the resource gets stuck forever
on an op that will never complete.
Example, interacting with the (long fixed) bug mentioned in pull/334:
- lrmd gets a start action, becomes rsc->active
- stonithd times out on the action
- stonithd gets SIGTERMed due to the aforementioned bug
- lrmd notices and attemps to clean up the pending ops, but misses rsc->active
- start times out in crmd, attempts to recover
- lrmd gets a stop action, gets put into rsc->pending_ops
- lrmd never runs the action since rsc->active is non-NULL
- stop times out in crmd and the host gets STONITHed due to a failed stop (even though a stonith resource stop is basically a no-op!)