Enhancement: Remove invalid pack files when `prune` is run

The `prune` command has been improved and will now remove invalid pack files,
for example files that have not been uploaded completely because a backup was
interrupted.

https://github.com/restic/restic/issues/1029
https://github.com/restic/restic/pull/1036