The House on Thursday passed a Department of Homeland Security funding bill that the Senate had approved more than a month ago.