What went wrong at Gap? One of the ugliest dresses ever was a clue