The Equation of State and Duration to Radiation Domination after Inflation