Elsewhere , Pakistani security forces say they attacked a militant hideout near the Afghan border , killing between 15 and 20 suspected militants .