US struggles to resolve Afghan election crisis