About 500 law firms sign brief challenging Trump’s executive orders targeting the legal community