Senate votes to fund most of the Department of Homeland Security but rejects immigration enforcement, NPR reports