Dollar Tree reaches agreement to sell 330 Family Dollar locations