Afghanistan fightback reduces Sri Lanka’s lead to 42