To the extent any such agreement or covenant is found to be unreasonable in any respect, a court shall limit or modify the agreement or covenant as it shall determine necessary to reflect the intent of the parties and render it reasonable in light of the circumstances in which it was made and specifically enforce the agreement or covenant as limited or modified.