Gunmen kill three soldiers in southwest Pakistan