Nova Scotia law would renew purchase agreements with tidal power producers