Libyan Islamists resign from government posts