Judge throws out Rudy Giuliani’s bankruptcy case, says ex-New York City mayor flouted process with lack of transparency