Senior Pakistani army officer detained for suspected links with banned Islamist group