fixed bug in cyclic function remover

the call relations were not valid any more after fixing one cycle
now the call relations are recalculated every time