When judgment for the collection or enforcement of any special assessment shall be refused or denied by any court, or when any court shall set aside any special assessment upon any lot or parcel of land or declare the same to be void for any cause, such lot or parcel of land may be reassessed or newly assessed from time to time until each separate lot, piece, or parcel of land has paid its proportionate part of the costs and expenses of such improvement.