Shutdown could have political consequences for both parties