Technical deficiencies upset Brooklyn prosecutor’s weapons case