Leicestershire are on the brink of relegation from County Championship top flight after breaching pitch regulations against Glamorgan in August.