The man had suffered a brain injury following a cardiac arrest in January 2016 and had no hope of recovery