WASHINGTON — Almost no one got everything they wanted out of the Monday deal to reopen the government — except perhaps medical device companies, who managed to fend off an industry-wide excise tax before the first payments were due.

The stopgap spending deal that was signed by President Trump on Monday included a two-year delay of the 2.3 percent tax, which was originally included in the Affordable Care Act to help pay for the law’s health insurance subsidies.