Find the value of a if (x – a) is factor of x^3 – ax^2 + 2x + a – 1 .