The government’s lawyers homed in on a jurisdictional argument for its authority to to terminate federal grants.