Swalwell, a vocal Trump critic, resigned from Congress and dropped out of California governor's race amid allegations.