Partitions of finite nonnegative integer sets with identical representation functions