Fix repairing structures. Repairing costs half of building

Previously, one needed the full BP to repair a structure, now one only needs enough to repair that portion. Further, it now only costs half of the total cost to fully repair a structure.