Section 176. When a voidable act is avoided, it is deemed to have been void from the beginning; and the parties shall be restored to the condition in which they were previously, and if it is not possible to so restored them, they be indemnified with and equivalent. …..