Panel casts partisan vote for homeland security department