AP and NBA ref reach settlement in Timberwolves tweet suit