Number of temporary foreign workers rose despite push to curtail program