The EVs will be wasted. Shedinja always has 1 HP, it will never gain any points from EVs in HP.
The only viable EV set for Shedinja is 252 Attack, 252 Speed.
Nothing shedinja is set with 1 hp it cant get anymore. thats like the only downfall with its ability. but you can use it one attack, speed, and sp. attack.