Discrete dislocation simulations of the plasticity of micro-pillars under uniaxial loading