Complete intersection flat dimension and the intersection theorem