Complete and efficient prehensile rearrangement in confined spaces under kinematic constraints