ROTS literally has him slaughtering children but a hallway of soldiers is a step too far?
You guys have some weird ideas. Anyway, let us not forget that the soldiers were the ones that fired first.
Vader’s objective is to prevent the Tantive from leaving before he can search it for the plans. Had those soldiers stood down and let him pass he probably would have let them live.