The formation and decay of shocks for a conservation law in several dimensions