Judge says Trump administration violated federal law by deploying National Guard in California