The departures come at a critical moment for Trump. The administration could soon face a Democratic-controlled Congress.