Officers were returning from a mine in Kohat district when fighters opened fire on them, authorities say.