Bucks agree to find new team for ex-NBA champion