Limit the undo on failures to only stop or scale down

Rather than undo all changes, this will only change the state to STOPPED or scale down instances.  It will also only do it if no other updates have occurred since.