correct minimum cost application

This makes sure the minimum cost is factored into the overall price independently of the base cost calculation. All specs pass; I will test some pricing scenarios as a user.

http://pm.tablexi.com/issues/79947