The House passed the funding package with a vote of 217-214.
The deal would separate DHS funding from bills funding other agencies, Dems say.