A primary school in Herefordshire is to temporarily close due to an increase in COVID-19 infection rates.