Application of Reinforcement Learning for Condition-based Maintenance of Multi-Unit Systems