Quantifying the effects of early competition on niche specialization: A natural experiment in a restored system