House lawmakers approved legislation on Thursday that would reopen the Department of Homeland Security, but most Democrats remain opposed to ending the partial government shutdown despite a leadership shakeup at DHS and military operations against Iran.