A convenient decontraction procedure of internally contracted state-specific multireference algorithms