Canada set for longer Afghan stay