Model selection in the average of inconsistent data: an analysis of the measured Planck-constant values