Extremism definition row: Labour peer warns government faces host of legal challenges