The House has voted unanimously to ensure that military families receive death benefits during the partial government shutdown.