Legal departments can avoid surprise legal spending by creating billing guidelines for outside counsel and by managing what can be controlled, legal experts say.