PSX index closes marginally negative