Brooklyn prosecutors wrap up trial of accused gang member who plotted murder