Armenia remands former head of military intelligence into custody