Islamists had held the country to hostage after news emerged of proposed changes to the oath taken by lawmakers.