Optimize removeBranch: method.