Uniformed Afghan kills 3 U.S. Marines