A Texas federal judge erred when he refused to let several government contractors and the Sierra Club intervene in a lawsuit that blocked the use of border wall funding for anything other than new barrier construction, the Fifth Circuit ruled Thursday.