A model for hold-your-nose dealmaking in Congress