House Nears Homeland Security Funding Deal