An intense fightback by the Islamic State group in Libya's Sirte has slowed an advance by pro-government forces into the jihadists' North African stronghold.