PTI should learn to accept defeat: Nisar