Cleanup b2prismaticjoint.