Tony Blair has warned Labour that its fierce resistance to austerity and welfare cuts risked reducing it to a party of protest.