The justice sided with the liberal wing in a 5-4 decision to unfreeze $2 billion in foreign aid, angering Trump supporters.