Barbados parts ways with British queen to become a republic