Optimal Maintenance Of Deteriorating Systems Integrating Deep Reinforcement Learning And Bayesian Inference