Nestle could struggle trying to block KitKat copycats, after a top lawyer at the European Court of Justice rejected a trademark bid.