Large deformation, rigid-plastic dynamics by an extremum principle