WASHINGTON—The Trump administration on March 24 invoked the “state secrets privilege,” a move that could lead to the dismissal of the case against the government regarding the deportation of Venezuelan illegal immigrants to El Salvador.