A federal judge declined to block Elon Musk from ordering mass firings or accessing data at seven different agencies