Hearts boss Gary Locke said the touchline melee that led to Jamie Hamill being sent off in the 2-0 victory over Ross County was needless.