bcache: factor out subtraction logic
bcache: factor out subtraction logic

Suggested by jzila.

Issue: #816

keybase/client,keybase/client,keybase/kbfs,keybase/client,keybase/kbfs,keybase/client,keybase/client,keybase/kbfs,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/kbfs,keybase/client,keybase/client