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