The House voted to raise the federal government’s borrowing limit on Wednesday as part of a package that includes a string of Republican spending-cut demands.