This is just another disingenuous move with the real reason being to promote the Canadian brand in the international media (Al Jazeera at least) and to curry favor with Muslims in the middle east.  
The PM is doing what he's supposed to be doing.  This bit of cowtowing will keep Canada safer than a few hundred advisers will.

To miss this is the same as complaining about Trudeau seeing the play on Broadway because he's just goofing off when he should be 'working'.
Or thinking that immigration during opening day of 'Canada is Back' had all sorts of negative economic repercussions. 
Or doubting the wisdom of bringing hundreds of South Africans with their special sticks to fight the greatest forest fire in Canadian history and turn down offers of assistance from the U.S.