Police in Pakistan say that a car bomb accidentally went off at the house of a Pakistani Taliban militant in the northwest of the country, killing at least two children and five suspected militants.