There has been a surge in attacks on Pakistan's security personnel since Tehrik-i-Taliban Pakistan ended its ceasefire agreement with the government.