COAS Bajwa’s extension will be terminated if legislation not passed: SC