[RuboCop] Remove unnecessary exceptions from add_edge