The House passed the legislation one day after it passed the Senate, teeing it up to be Trump’s first bill signed into law.