Congress votes to reopen government, passes massive budget deal