Amazon reaches sales tax agreement in Va.