"Stack ranking" is a controversial system of rating employees and laying off the poorest performers. Attorney Alykhan Sunderji, who spent almost nine years at Amazon, said the system can be helpful.