Neural learning and dynamical selection of redundant solutions for inverse kinematic control