what was the pendleton civil service act intended to reform