Statically Indeterminate Structures and the Principle of Least Work