Court throws out Bush ‘buffer zone’ rewrite