The European Commission (EC) has scrapped an investigation into aid given to a Fiat car engine project in Poland after the government there agreed to reduce the aid to bring it in line with EU rules.