Afghan politicians grapple with rifts before key talks