An Optimal Integrated Maintenance Strategy for a Multi-Machines System