Intensional Type Theory For Higher-Order Contingentism