The party’s willingness to take the nation to the brink of a government shutdown signaled its intention, just weeks after its election drubbing in Rust Belt states, to quickly leverage the sorts of issues that propelled Donald J. Trump to victory.