restore ship repair cost to approximately match prior behaviour

fixes #2113
Merge remote-tracking branch 'jpab/issue-2113'