Police battled gunmen armed with automatic weapons, grenades and wearing suicide vests in southwest Pakistan early Friday, after thwarting two separate attacks on military airbases, killing six of the attackers.