Effect of interdot Coulomb interaction on the Josephson phase transition in a double-quantum-dot junction