US soldier pleads guilty over Afghan killings