A Topological Solution of Entanglement for Complex-shaped Parts in Robotic Bin-Picking