Dimension and degeneracy of zeros of parametric polynomial systems with applications to reaction networks