I know of a case where a marine had borderline PD and got a General discharge after a short period of being AWOL, they turned themselves into a VA hospital. You were gone longer, however having qualified for SSDI you might still have a chance going to the VA hospital it might be a work a medical discharge. I doubt that if you were able to complete your training that you were suited for submarine service anyway. That MOS changes you for life.