A class action complaint filed Thursday accused Trump administration officials of turning Northern California’s immigration courts into “a trap” where masked agents ambush and needlessly arrest immigrants who must then endure squalid conditions in a makeshift San Francisco holding facility.