Fix removal of stale pid file in elasticsearch init script.

See https://github.com/elasticsearch/cookbook-elasticsearch/issues/224

Test case:
```
sudo service elasticsearch start
sudo service elasticsearch stop
sudo service elasticsearch restart
```