HPCC-10177 Add code to restrict the number of persist instances

Delete the least-recently-used versions of a persist before rebuilding.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>