Afghanistan election in doubt as US, Taliban near deal