Decompositions of matrices into diagonalizable and square-zero matrices