Reset lock states of inactive local instances

Acloud keeps the allocation states of local instances in the lock files.
If the instances are terminated due to invalid arguments, bugs, or kill
commands, acloud cannot list the instances. The user can reset the
states of such instances by using --instance-names.

Test: echo -n I > /tmp/acloud_cvd_temp/local-instance-5.lock
      acloud-dev delete --instance-names local-instance-5
Bug: 171371739
Change-Id: I9ae9705dbb7f52736c14358d8153dc91eed1ec26
5 files changed