Fix a bug handling the ignore_self_collisions option to RBM

Remove links from old collision filter groups when ignoring self collisions. Otherwise, self collisions will still be checked between bodies that belong to collision filter groups eligible for collision.