IMF approves $506m loan tranche for Pakistan