Causality, contingency and science in Robert Kilwardby