The shutdown is a gamble for a Democratic Party facing its lowest approval numbers since the Reagan era.