Covering compacta by discrete and other separated sets