An unannounced inspection of a Gwent hospital emergency department has found ongoing issues with overcrowding and patient care.