Federal judge kicks out case by 1,500 applicants trying to force Canada to process visa applications under the repealed Immigrant Investor Programme or pay millions in compensation