Lawmakers on both sides have long acknowledged that shutdowns inflict more harm than good, calling them politically toxic and economically damaging for ordinary Americans.