Find the sum of all possible integer values of $a$ such that the equation $(a + 1)x^2-(a^2 + 1)x + (2a^2 − 6) = 0$ is solvable in integers.