Judge who had advised Pence says following Trump’s orders would have risked ‘a revolution within a constitutional crisis.’