Surface instability, ripple formation, and spontaneous transition to chains of dots by competing kinetics