Stability of type II blow up solutions for critical wave equations