Brooklyn Appellate Court orders new trial for murder defendant