Celtics' spur of the moment move altered the paths of two franchises