Tridiagonal scalar mass matrix in the CP4 3HDM and its implications