Unusual terahertz spectral weight and conductivity dynamics of the insulator-metal transition in Pr0.5Nd0.5NiO3 thin films