The bid to freeze the money upends how the federal government delivers funding to states and may violate court orders issued this week.