The remedy intended to place the parties in the same legal position they were in before contracting is