On a parabolic Hamilton-Jacobi-Bellman equation degenerating at the boundary