Five lessons from the debacle the president has sparked by trying to freeze federal and foreign aid