A maintenance model for phase-type systems: Optimal critical state maintenance for systems with phase-type distributed times to failure