Gang member arrested for Harlem murders was out on bail after shooting at NYPD officers