Only clear the diag message echo once

Trying to clear it all the time removes other, non-YCM messages as well.

Fixes #766.