calculate the pressure at equilibrium
I think what is given here is $K_p= p(\ce{NH3}). p(\ce{HI})$ and not $K_c$. So, What you have here are the partial pressures of the gases. As you have a sealed vessel, so the sum of the partial pressures of the gases gives the total pressure, 8.5 atm