Veteran NYPD detective Matthew Gale leaves Kings County Hospital