Municipal lawyers are stepping beyond traditional duties to challenge funding cuts by the Trump administration.