A velocity decomposition approach for solving the immersed interface problem with Dirichlet boundary conditions