Border shut after Afghans burn Pakistani flag