Greater Manchester has been told it will need to pay back £22m earmarked for the Clean Air Zone now plans have been scrapped.