Parliamentary leaders agree to revive Military courts