Paths of Economic Growth that are Optimal with Regard only to Final States: A Turnpike Theorem