Panama's government has repealed a measure to sell state-owned land in a duty-free zone along the Panama Canal after a week of sometimes violent protests.