Averroes and the metaphysics of causation