Fix repairer signed integer overflow

Fixes issue #184. Also changes uses of `cost_modifier()` to the more maintainable `adjusted_price().`