Nine police officers were killed in a militant attack on a police facility in Pakistan's Balochistan province.