Canada to automate processing of work permits