Phase-field study of competitive dendritic growth of converging grains during directional solidification