Miller signs key deal with blindsided Suns