Six prisoners associated with the Islamic Jihad terror group were killed during clashes with police in a maximum security prison in Jakarta.